package com.crowdfunding.service;

import com.crowdfunding.entity.RecordCrowdFunding;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoyu
 * @since 2021-07-14
 */
public interface IRecordCrowdFundingService extends IService<RecordCrowdFunding> {

    void addRecord(RecordCrowdFunding crowdFundin);

    List<RecordCrowdFunding> getRecordList(String cfId);

    double getRecordTotalAmount(String username, String cfId);
}
